
#ifndef _MEMBER_BGROUPBOX_H_
#define _MEMBER_BGROUPBOX_H_

#include <BFont>
#include <BImage>
#include <BGroupBox>

namespace BWE
{
	class member_BGroupBox
	{
	public:
		member_BGroupBox(BGroupBox* groupBox);
		~member_BGroupBox();

		void freshRects();

		BGroupBox*		boss;
		Align			align;
		bool			checkable;
		bool			checked;
		bool			foldable;
		bool			folded;
		BMargins		foldedMarins;
		BPerchs			foldedPerchs;
		BSize			foldedMaxSize;

		BImageHolder	titleImage;
		BSize			imageSize;
		int				lineWidth;
		BRect			imageRect;
		BRect			textRect;
		BString			t_title;
		BPoint			points[6];

	};
}

#endif
